from multiprocessing import Process, Pipe


def f(pip):
    pip.send([132, 234, 3.14, "abc", "def", None])
    pip.close()


if __name__ == "__main__":
    parent_pip, child_pip = Pipe()
    proc = Process(target=f, args=(child_pip,))
    proc.start()
    print("recv child pip: ", parent_pip.recv())
    proc.join()
